<?php
set_time_limit(7200);
	ini_set('include_path',dirname(dirname(__FILE__)));
	require_once(get_include_path().'/libraries/log.php');
	require_once(get_include_path().'/libraries/db.php');
	require_once(get_include_path().'/libraries/zipfile.php');
	require_once(get_include_path().'/libraries/json.php');
	require_once(get_include_path().'/libraries/login.php');
	require_once(get_include_path().'/libraries/phpmailer/class.phpmailer.php');
	require_once(get_include_path().'/Managers/ActividadesManager.php');
	require_once(get_include_path().'/Managers/RegionesManager.php');
	require_once(get_include_path().'/Managers/ProvinciasManager.php');
	require_once(get_include_path().'/Managers/CiudadesManager.php');
	require_once(get_include_path().'/Managers/ProgramasManager.php');
	require_once(get_include_path().'/Managers/SubProgramasManager.php');
	require_once(get_include_path().'/Managers/CategoriasManager.php');
	require_once(get_include_path().'/Managers/OrganizacionesManager.php');
	require_once(get_include_path().'/Managers/VideosManager.php');
	require_once(get_include_path().'/Managers/FileManager.php');

	function getPath(){
		$myFile = get_include_path()."/libraries/php.conf";
		$fh = fopen($myFile, 'r');
		$theData = fread($fh, filesize($myFile));
		fclose($fh);
		$arr_data = split(",",$theData);
		return str_replace("\\", "\\\\", $arr_data[4]);

	}
	function getPathLocal(){
		return "files/";
	}
?>